package me.idashu.attg.service;

import me.idashu.attg.domain.UserrecommEntity;
import me.idashu.attg.persistence.UserrecommMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserrecommService {
    @Autowired
	private UserrecommMapper userrecommMapper;
    
    public void insertUserrecomm(UserrecommEntity userrecommEntity){
    	userrecommMapper.insertUserrecomm(userrecommEntity);
    }
    
    public int recommendCount(int recommendId){
    	return userrecommMapper.recommendCount(recommendId);
    }
}
